package org.eddycar.jproyeddycar.contrato.vistas;

import org.eddycar.jproyeddycar.comun.dao.DaoCliente;
import org.eddycar.jproyeddycar.comun.modelo.Cliente;
import org.eddycar.jproyeddycar.negocio.CargarReportes;
import org.eddycar.jproyeddycar.negocio.Control;
import org.eddycar.jproyeddycar.contrato.dao.DaoAdministracionFinanciamiento;
import org.eddycar.jproyeddycar.contrato.dao.DaoSolicitudFinanciamiento;
import org.eddycar.jproyeddycar.contrato.dao.DaoVehiculo;
import org.eddycar.jproyeddycar.contrato.modelo.Financiamiento;
import org.eddycar.jproyeddycar.contrato.modelo.SolicitudFinanciamiento;
import org.eddycar.jproyeddycar.contrato.modelo.Vehiculo;


public class BuscarVistaSolicitudFinanciamiento extends javax.swing.JDialog {

    SolicitudFinanciamiento sol = new SolicitudFinanciamiento();
    DaoVehiculo dv;
    Vehiculo v1;
    DaoCliente dc;
    Cliente cliente;
    String cedula = "";
    Control control = new Control();
    DaoAdministracionFinanciamiento daoAdministracion;
    Financiamiento admin;
    DaoSolicitudFinanciamiento ds = new DaoSolicitudFinanciamiento();
    SolicitudFinanciamiento solicitudEncontrada = new SolicitudFinanciamiento();

    public BuscarVistaSolicitudFinanciamiento(String cedula) {
        super(new javax.swing.JFrame(), true);
        initComponents();
        llenarcampos(cedula);
        setLocationRelativeTo(this);
        setVisible(true);
        this.setAlwaysOnTop(true);
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        txtNombreApellidoCliente = new javax.swing.JTextField();
        jLabel4 = new javax.swing.JLabel();
        txtCedula = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        txtEdad = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        txtEstado = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        txtTelefono = new javax.swing.JTextField();
        jLabel8 = new javax.swing.JLabel();
        txtNombreApellidoConyuge = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        txtCedulaC = new javax.swing.JTextField();
        jLabel10 = new javax.swing.JLabel();
        txtTelefonoC = new javax.swing.JTextField();
        jLabel11 = new javax.swing.JLabel();
        txtDirec = new javax.swing.JTextField();
        jLabel12 = new javax.swing.JLabel();
        txtDirecTrab = new javax.swing.JTextField();
        txtDirecG = new javax.swing.JTextField();
        txtTelefonoG = new javax.swing.JTextField();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        txtEdadG = new javax.swing.JTextField();
        jLabel15 = new javax.swing.JLabel();
        txtEstadoG = new javax.swing.JTextField();
        jLabel16 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        txtNombresApellidosG = new javax.swing.JTextField();
        jLabel18 = new javax.swing.JLabel();
        txtCedulaG = new javax.swing.JTextField();
        jLabel19 = new javax.swing.JLabel();
        jLabel20 = new javax.swing.JLabel();
        txtMotor = new javax.swing.JTextField();
        jLabel21 = new javax.swing.JLabel();
        txtColor = new javax.swing.JTextField();
        jLabel22 = new javax.swing.JLabel();
        txtTipo = new javax.swing.JTextField();
        jLabel23 = new javax.swing.JLabel();
        txtMarca = new javax.swing.JTextField();
        jLabel24 = new javax.swing.JLabel();
        txtMatricula = new javax.swing.JTextField();
        jLabel25 = new javax.swing.JLabel();
        txtPlaca = new javax.swing.JTextField();
        jLabel26 = new javax.swing.JLabel();
        txtChasis = new javax.swing.JTextField();
        jLabel27 = new javax.swing.JLabel();
        txtModelo = new javax.swing.JTextField();
        jLabel28 = new javax.swing.JLabel();
        jLabel29 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        txtValorFinal = new javax.swing.JTextField();
        jLabel32 = new javax.swing.JLabel();
        txtValorEntrada = new javax.swing.JTextField();
        jLabel33 = new javax.swing.JLabel();
        txtSaldoAdeudado = new javax.swing.JTextField();
        jLabel34 = new javax.swing.JLabel();
        txtPlazo = new javax.swing.JTextField();
        jLabel35 = new javax.swing.JLabel();
        txtValorCuotas = new javax.swing.JTextField();
        jLabel36 = new javax.swing.JLabel();
        jLabel37 = new javax.swing.JLabel();
        txtImprimir = new javax.swing.JButton();
        jLabel39 = new javax.swing.JLabel();
        jLabel40 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance().getContext().getResourceMap(BuscarVistaSolicitudFinanciamiento.class);
        setTitle(resourceMap.getString("Form.title")); // NOI18N
        setName("Form"); // NOI18N
        setResizable(false);

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        jPanel1.setBackground(resourceMap.getColor("jPanel1.background")); // NOI18N
        jPanel1.setName("jPanel1"); // NOI18N
        jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel1.setFont(resourceMap.getFont("jLabel1.font")); // NOI18N
        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N
        jPanel1.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 130, -1, -1));

        jLabel2.setBackground(resourceMap.getColor("jLabel2.background")); // NOI18N
        jLabel2.setFont(resourceMap.getFont("jLabel2.font")); // NOI18N
        jLabel2.setForeground(resourceMap.getColor("jLabel2.foreground")); // NOI18N
        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N
        jLabel2.setOpaque(true);
        jPanel1.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 90, 340, -1));

        jLabel3.setFont(resourceMap.getFont("jLabel3.font")); // NOI18N
        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N
        jPanel1.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 204, 130, -1));

        txtNombreApellidoCliente.setEditable(false);
        txtNombreApellidoCliente.setText(resourceMap.getString("txtNombreApellidoCliente.text")); // NOI18N
        txtNombreApellidoCliente.setName("txtNombreApellidoCliente"); // NOI18N
        jPanel1.add(txtNombreApellidoCliente, new org.netbeans.lib.awtextra.AbsoluteConstraints(161, 202, 628, -1));

        jLabel4.setFont(resourceMap.getFont("jLabel4.font")); // NOI18N
        jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N
        jLabel4.setName("jLabel4"); // NOI18N
        jPanel1.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 229, 130, -1));

        txtCedula.setEditable(false);
        txtCedula.setName("txtCedula"); // NOI18N
        jPanel1.add(txtCedula, new org.netbeans.lib.awtextra.AbsoluteConstraints(161, 228, 301, -1));

        jLabel5.setFont(resourceMap.getFont("jLabel5.font")); // NOI18N
        jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
        jLabel5.setName("jLabel5"); // NOI18N
        jPanel1.add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(466, 229, 42, -1));

        txtEdad.setEditable(false);
        txtEdad.setName("txtEdad"); // NOI18N
        jPanel1.add(txtEdad, new org.netbeans.lib.awtextra.AbsoluteConstraints(533, 228, 256, -1));

        jLabel6.setFont(resourceMap.getFont("jLabel6.font")); // NOI18N
        jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
        jLabel6.setName("jLabel6"); // NOI18N
        jPanel1.add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 255, 75, -1));

        txtEstado.setEditable(false);
        txtEstado.setName("txtEstado"); // NOI18N
        jPanel1.add(txtEstado, new org.netbeans.lib.awtextra.AbsoluteConstraints(161, 254, 301, -1));

        jLabel7.setFont(resourceMap.getFont("jLabel7.font")); // NOI18N
        jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N
        jLabel7.setName("jLabel7"); // NOI18N
        jPanel1.add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(466, 255, 63, -1));

        txtTelefono.setEditable(false);
        txtTelefono.setName("txtTelefono"); // NOI18N
        jPanel1.add(txtTelefono, new org.netbeans.lib.awtextra.AbsoluteConstraints(533, 254, 256, -1));

        jLabel8.setFont(resourceMap.getFont("jLabel8.font")); // NOI18N
        jLabel8.setText(resourceMap.getString("jLabel8.text")); // NOI18N
        jLabel8.setName("jLabel8"); // NOI18N
        jPanel1.add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 281, -1, -1));

        txtNombreApellidoConyuge.setEditable(false);
        txtNombreApellidoConyuge.setName("txtNombreApellidoConyuge"); // NOI18N
        jPanel1.add(txtNombreApellidoConyuge, new org.netbeans.lib.awtextra.AbsoluteConstraints(163, 280, 626, -1));

        jLabel9.setFont(resourceMap.getFont("jLabel9.font")); // NOI18N
        jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N
        jLabel9.setName("jLabel9"); // NOI18N
        jPanel1.add(jLabel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 307, 130, -1));

        txtCedulaC.setEditable(false);
        txtCedulaC.setName("txtCedulaC"); // NOI18N
        jPanel1.add(txtCedulaC, new org.netbeans.lib.awtextra.AbsoluteConstraints(161, 306, 270, -1));

        jLabel10.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N
        jLabel10.setName("jLabel10"); // NOI18N
        jPanel1.add(jLabel10, new org.netbeans.lib.awtextra.AbsoluteConstraints(434, 307, -1, -1));

        txtTelefonoC.setEditable(false);
        txtTelefonoC.setName("txtTelefonoC"); // NOI18N
        jPanel1.add(txtTelefonoC, new org.netbeans.lib.awtextra.AbsoluteConstraints(545, 306, 244, -1));

        jLabel11.setFont(resourceMap.getFont("jLabel11.font")); // NOI18N
        jLabel11.setText(resourceMap.getString("jLabel11.text")); // NOI18N
        jLabel11.setName("jLabel11"); // NOI18N
        jPanel1.add(jLabel11, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 333, 130, -1));

        txtDirec.setEditable(false);
        txtDirec.setName("txtDirec"); // NOI18N
        jPanel1.add(txtDirec, new org.netbeans.lib.awtextra.AbsoluteConstraints(161, 332, 628, -1));

        jLabel12.setFont(resourceMap.getFont("jLabel12.font")); // NOI18N
        jLabel12.setText(resourceMap.getString("jLabel12.text")); // NOI18N
        jLabel12.setName("jLabel12"); // NOI18N
        jPanel1.add(jLabel12, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 359, 115, -1));

        txtDirecTrab.setEditable(false);
        txtDirecTrab.setName("txtDirecTrab"); // NOI18N
        jPanel1.add(txtDirecTrab, new org.netbeans.lib.awtextra.AbsoluteConstraints(161, 358, 628, -1));

        txtDirecG.setEditable(false);
        txtDirecG.setName("txtDirecG"); // NOI18N
        jPanel1.add(txtDirecG, new org.netbeans.lib.awtextra.AbsoluteConstraints(157, 530, 632, -1));

        txtTelefonoG.setEditable(false);
        txtTelefonoG.setName("txtTelefonoG"); // NOI18N
        jPanel1.add(txtTelefonoG, new org.netbeans.lib.awtextra.AbsoluteConstraints(533, 504, 256, -1));

        jLabel13.setFont(resourceMap.getFont("jLabel13.font")); // NOI18N
        jLabel13.setText(resourceMap.getString("jLabel13.text")); // NOI18N
        jLabel13.setName("jLabel13"); // NOI18N
        jPanel1.add(jLabel13, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 531, -1, -1));

        jLabel14.setFont(resourceMap.getFont("jLabel14.font")); // NOI18N
        jLabel14.setText(resourceMap.getString("jLabel14.text")); // NOI18N
        jLabel14.setName("jLabel14"); // NOI18N
        jPanel1.add(jLabel14, new org.netbeans.lib.awtextra.AbsoluteConstraints(466, 505, 63, -1));

        txtEdadG.setEditable(false);
        txtEdadG.setName("txtEdadG"); // NOI18N
        jPanel1.add(txtEdadG, new org.netbeans.lib.awtextra.AbsoluteConstraints(533, 478, 256, -1));

        jLabel15.setFont(resourceMap.getFont("jLabel15.font")); // NOI18N
        jLabel15.setText(resourceMap.getString("jLabel15.text")); // NOI18N
        jLabel15.setName("jLabel15"); // NOI18N
        jPanel1.add(jLabel15, new org.netbeans.lib.awtextra.AbsoluteConstraints(466, 479, 42, -1));

        txtEstadoG.setEditable(false);
        txtEstadoG.setName("txtEstadoG"); // NOI18N
        jPanel1.add(txtEstadoG, new org.netbeans.lib.awtextra.AbsoluteConstraints(157, 504, 305, -1));

        jLabel16.setFont(resourceMap.getFont("jLabel16.font")); // NOI18N
        jLabel16.setText(resourceMap.getString("jLabel16.text")); // NOI18N
        jLabel16.setName("jLabel16"); // NOI18N
        jPanel1.add(jLabel16, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 505, 75, -1));

        jLabel17.setBackground(resourceMap.getColor("jLabel17.background")); // NOI18N
        jLabel17.setFont(resourceMap.getFont("jLabel17.font")); // NOI18N
        jLabel17.setForeground(resourceMap.getColor("jLabel17.foreground")); // NOI18N
        jLabel17.setText(resourceMap.getString("jLabel17.text")); // NOI18N
        jLabel17.setName("jLabel17"); // NOI18N
        jLabel17.setOpaque(true);
        jPanel1.add(jLabel17, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 408, 761, 26));

        txtNombresApellidosG.setEditable(false);
        txtNombresApellidosG.setName("txtNombresApellidosG"); // NOI18N
        jPanel1.add(txtNombresApellidosG, new org.netbeans.lib.awtextra.AbsoluteConstraints(157, 452, 632, -1));

        jLabel18.setFont(resourceMap.getFont("jLabel18.font")); // NOI18N
        jLabel18.setText(resourceMap.getString("jLabel18.text")); // NOI18N
        jLabel18.setName("jLabel18"); // NOI18N
        jPanel1.add(jLabel18, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 453, -1, -1));

        txtCedulaG.setEditable(false);
        txtCedulaG.setName("txtCedulaG"); // NOI18N
        jPanel1.add(txtCedulaG, new org.netbeans.lib.awtextra.AbsoluteConstraints(157, 478, 305, -1));

        jLabel19.setFont(resourceMap.getFont("jLabel19.font")); // NOI18N
        jLabel19.setText(resourceMap.getString("jLabel19.text")); // NOI18N
        jLabel19.setName("jLabel19"); // NOI18N
        jPanel1.add(jLabel19, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 479, 130, -1));

        jLabel20.setBackground(resourceMap.getColor("jLabel20.background")); // NOI18N
        jLabel20.setFont(resourceMap.getFont("jLabel20.font")); // NOI18N
        jLabel20.setForeground(resourceMap.getColor("jLabel20.foreground")); // NOI18N
        jLabel20.setText(resourceMap.getString("jLabel20.text")); // NOI18N
        jLabel20.setName("jLabel20"); // NOI18N
        jLabel20.setOpaque(true);
        jPanel1.add(jLabel20, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 576, 761, 26));

        txtMotor.setEditable(false);
        txtMotor.setName("txtMotor"); // NOI18N
        jPanel1.add(txtMotor, new org.netbeans.lib.awtextra.AbsoluteConstraints(533, 646, 256, -1));

        jLabel21.setFont(resourceMap.getFont("jLabel21.font")); // NOI18N
        jLabel21.setText(resourceMap.getString("jLabel21.text")); // NOI18N
        jLabel21.setName("jLabel21"); // NOI18N
        jPanel1.add(jLabel21, new org.netbeans.lib.awtextra.AbsoluteConstraints(466, 647, 63, -1));

        txtColor.setEditable(false);
        txtColor.setName("txtColor"); // NOI18N
        jPanel1.add(txtColor, new org.netbeans.lib.awtextra.AbsoluteConstraints(533, 620, 256, -1));

        jLabel22.setFont(resourceMap.getFont("jLabel22.font")); // NOI18N
        jLabel22.setText(resourceMap.getString("jLabel22.text")); // NOI18N
        jLabel22.setName("jLabel22"); // NOI18N
        jPanel1.add(jLabel22, new org.netbeans.lib.awtextra.AbsoluteConstraints(466, 621, 42, -1));

        txtTipo.setEditable(false);
        txtTipo.setName("txtTipo"); // NOI18N
        jPanel1.add(txtTipo, new org.netbeans.lib.awtextra.AbsoluteConstraints(157, 646, 305, -1));

        jLabel23.setFont(resourceMap.getFont("jLabel23.font")); // NOI18N
        jLabel23.setText(resourceMap.getString("jLabel23.text")); // NOI18N
        jLabel23.setName("jLabel23"); // NOI18N
        jPanel1.add(jLabel23, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 647, 75, -1));

        txtMarca.setEditable(false);
        txtMarca.setName("txtMarca"); // NOI18N
        jPanel1.add(txtMarca, new org.netbeans.lib.awtextra.AbsoluteConstraints(157, 620, 305, -1));

        jLabel24.setFont(resourceMap.getFont("jLabel24.font")); // NOI18N
        jLabel24.setText(resourceMap.getString("jLabel24.text")); // NOI18N
        jLabel24.setName("jLabel24"); // NOI18N
        jPanel1.add(jLabel24, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 621, 115, -1));

        txtMatricula.setEditable(false);
        txtMatricula.setName("txtMatricula"); // NOI18N
        jPanel1.add(txtMatricula, new org.netbeans.lib.awtextra.AbsoluteConstraints(533, 698, 256, -1));

        jLabel25.setFont(resourceMap.getFont("jLabel25.font")); // NOI18N
        jLabel25.setText(resourceMap.getString("jLabel25.text")); // NOI18N
        jLabel25.setName("jLabel25"); // NOI18N
        jPanel1.add(jLabel25, new org.netbeans.lib.awtextra.AbsoluteConstraints(466, 699, 63, -1));

        txtPlaca.setEditable(false);
        txtPlaca.setName("txtPlaca"); // NOI18N
        jPanel1.add(txtPlaca, new org.netbeans.lib.awtextra.AbsoluteConstraints(157, 698, 305, -1));

        jLabel26.setFont(resourceMap.getFont("jLabel26.font")); // NOI18N
        jLabel26.setText(resourceMap.getString("jLabel26.text")); // NOI18N
        jLabel26.setName("jLabel26"); // NOI18N
        jPanel1.add(jLabel26, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 699, 75, -1));

        txtChasis.setEditable(false);
        txtChasis.setName("txtChasis"); // NOI18N
        jPanel1.add(txtChasis, new org.netbeans.lib.awtextra.AbsoluteConstraints(533, 672, 256, -1));

        jLabel27.setFont(resourceMap.getFont("jLabel27.font")); // NOI18N
        jLabel27.setText(resourceMap.getString("jLabel27.text")); // NOI18N
        jLabel27.setName("jLabel27"); // NOI18N
        jPanel1.add(jLabel27, new org.netbeans.lib.awtextra.AbsoluteConstraints(466, 673, 70, -1));

        txtModelo.setEditable(false);
        txtModelo.setName("txtModelo"); // NOI18N
        jPanel1.add(txtModelo, new org.netbeans.lib.awtextra.AbsoluteConstraints(157, 672, 305, -1));

        jLabel28.setFont(resourceMap.getFont("jLabel28.font")); // NOI18N
        jLabel28.setText(resourceMap.getString("jLabel28.text")); // NOI18N
        jLabel28.setName("jLabel28"); // NOI18N
        jPanel1.add(jLabel28, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 673, 115, -1));

        jLabel29.setBackground(resourceMap.getColor("jLabel29.background")); // NOI18N
        jLabel29.setFont(resourceMap.getFont("jLabel29.font")); // NOI18N
        jLabel29.setForeground(resourceMap.getColor("jLabel29.foreground")); // NOI18N
        jLabel29.setText(resourceMap.getString("jLabel29.text")); // NOI18N
        jLabel29.setName("jLabel29"); // NOI18N
        jLabel29.setOpaque(true);
        jPanel1.add(jLabel29, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 736, 761, 26));

        jLabel30.setFont(resourceMap.getFont("jLabel30.font")); // NOI18N
        jLabel30.setText(resourceMap.getString("jLabel30.text")); // NOI18N
        jLabel30.setName("jLabel30"); // NOI18N
        jPanel1.add(jLabel30, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 810, 157, -1));

        txtValorFinal.setEditable(false);
        txtValorFinal.setName("txtValorFinal"); // NOI18N
        jPanel1.add(txtValorFinal, new org.netbeans.lib.awtextra.AbsoluteConstraints(243, 802, 188, -1));

        jLabel32.setFont(resourceMap.getFont("jLabel32.font")); // NOI18N
        jLabel32.setText(resourceMap.getString("jLabel32.text")); // NOI18N
        jLabel32.setName("jLabel32"); // NOI18N
        jPanel1.add(jLabel32, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 835, 157, -1));

        txtValorEntrada.setEditable(false);
        txtValorEntrada.setText(resourceMap.getString("txtValorEntrada.text")); // NOI18N
        txtValorEntrada.setName("txtValorEntrada"); // NOI18N
        jPanel1.add(txtValorEntrada, new org.netbeans.lib.awtextra.AbsoluteConstraints(243, 829, 188, -1));

        jLabel33.setFont(resourceMap.getFont("jLabel33.font")); // NOI18N
        jLabel33.setText(resourceMap.getString("jLabel33.text")); // NOI18N
        jLabel33.setName("jLabel33"); // NOI18N
        jPanel1.add(jLabel33, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 861, 157, -1));

        txtSaldoAdeudado.setEditable(false);
        txtSaldoAdeudado.setName("txtSaldoAdeudado"); // NOI18N
        jPanel1.add(txtSaldoAdeudado, new org.netbeans.lib.awtextra.AbsoluteConstraints(243, 857, 188, -1));

        jLabel34.setFont(resourceMap.getFont("jLabel34.font")); // NOI18N
        jLabel34.setText(resourceMap.getString("jLabel34.text")); // NOI18N
        jLabel34.setName("jLabel34"); // NOI18N
        jPanel1.add(jLabel34, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 890, 157, -1));

        txtPlazo.setEditable(false);
        txtPlazo.setText(resourceMap.getString("txtPlazo.text")); // NOI18N
        txtPlazo.setName("txtPlazo"); // NOI18N
        jPanel1.add(txtPlazo, new org.netbeans.lib.awtextra.AbsoluteConstraints(243, 884, 188, -1));

        jLabel35.setFont(resourceMap.getFont("jLabel35.font")); // NOI18N
        jLabel35.setText(resourceMap.getString("jLabel35.text")); // NOI18N
        jLabel35.setName("jLabel35"); // NOI18N
        jPanel1.add(jLabel35, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 916, 157, -1));

        txtValorCuotas.setEditable(false);
        txtValorCuotas.setName("txtValorCuotas"); // NOI18N
        jPanel1.add(txtValorCuotas, new org.netbeans.lib.awtextra.AbsoluteConstraints(243, 912, 188, -1));

        jLabel36.setFont(resourceMap.getFont("jLabel36.font")); // NOI18N
        jLabel36.setText(resourceMap.getString("jLabel36.text")); // NOI18N
        jLabel36.setName("jLabel36"); // NOI18N
        jPanel1.add(jLabel36, new org.netbeans.lib.awtextra.AbsoluteConstraints(589, 857, -1, -1));

        jLabel37.setFont(resourceMap.getFont("jLabel37.font")); // NOI18N
        jLabel37.setText(resourceMap.getString("jLabel37.text")); // NOI18N
        jLabel37.setName("jLabel37"); // NOI18N
        jPanel1.add(jLabel37, new org.netbeans.lib.awtextra.AbsoluteConstraints(628, 879, -1, -1));

        txtImprimir.setText(resourceMap.getString("txtImprimir.text")); // NOI18N
        txtImprimir.setName("txtImprimir"); // NOI18N
        txtImprimir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtImprimirActionPerformed(evt);
            }
        });
        jPanel1.add(txtImprimir, new org.netbeans.lib.awtextra.AbsoluteConstraints(580, 910, 180, 30));

        jLabel39.setFont(resourceMap.getFont("jLabel39.font")); // NOI18N
        jLabel39.setText(resourceMap.getString("jLabel39.text")); // NOI18N
        jLabel39.setName("jLabel39"); // NOI18N
        jPanel1.add(jLabel39, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 20, 340, 70));

        jLabel40.setBackground(resourceMap.getColor("jLabel40.background")); // NOI18N
        jLabel40.setFont(resourceMap.getFont("jLabel40.font")); // NOI18N
        jLabel40.setForeground(resourceMap.getColor("jLabel40.foreground")); // NOI18N
        jLabel40.setText(resourceMap.getString("jLabel40.text")); // NOI18N
        jLabel40.setName("jLabel40"); // NOI18N
        jLabel40.setOpaque(true);
        jPanel1.add(jLabel40, new org.netbeans.lib.awtextra.AbsoluteConstraints(28, 158, 761, 26));

        jScrollPane1.setViewportView(jPanel1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 849, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 377, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void txtImprimirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtImprimirActionPerformed
        CargarReportes report = new CargarReportes();
        report.llamarReporte(solicitudEncontrada.getId(), "ReporteSolicitudFinanciamiento", "idS");
        dispose();
    }//GEN-LAST:event_txtImprimirActionPerformed
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel35;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel39;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextField txtCedula;
    private javax.swing.JTextField txtCedulaC;
    private javax.swing.JTextField txtCedulaG;
    private javax.swing.JTextField txtChasis;
    private javax.swing.JTextField txtColor;
    private javax.swing.JTextField txtDirec;
    private javax.swing.JTextField txtDirecG;
    private javax.swing.JTextField txtDirecTrab;
    private javax.swing.JTextField txtEdad;
    private javax.swing.JTextField txtEdadG;
    private javax.swing.JTextField txtEstado;
    private javax.swing.JTextField txtEstadoG;
    private javax.swing.JButton txtImprimir;
    private javax.swing.JTextField txtMarca;
    private javax.swing.JTextField txtMatricula;
    private javax.swing.JTextField txtModelo;
    private javax.swing.JTextField txtMotor;
    private javax.swing.JTextField txtNombreApellidoCliente;
    private javax.swing.JTextField txtNombreApellidoConyuge;
    private javax.swing.JTextField txtNombresApellidosG;
    private javax.swing.JTextField txtPlaca;
    private javax.swing.JTextField txtPlazo;
    private javax.swing.JTextField txtSaldoAdeudado;
    private javax.swing.JTextField txtTelefono;
    private javax.swing.JTextField txtTelefonoC;
    private javax.swing.JTextField txtTelefonoG;
    private javax.swing.JTextField txtTipo;
    private javax.swing.JTextField txtValorCuotas;
    private javax.swing.JTextField txtValorEntrada;
    private javax.swing.JTextField txtValorFinal;
    // End of variables declaration//GEN-END:variables

    private void llenarcampos(String cedula) {
        solicitudEncontrada = ds.buscarId(cedula);
        txtCedula.setText(solicitudEncontrada.getClienteCedula());
        txtNombreApellidoCliente.setText(solicitudEncontrada.getClienteNombresApellidos());
        txtDirec.setText(solicitudEncontrada.getClienteDireccionDomicilio());
        txtDirecTrab.setText(solicitudEncontrada.getClienteDireccionTrabajo());
        txtTelefono.setText(solicitudEncontrada.getClienteTelefono());
        txtEdad.setText(solicitudEncontrada.getClienteEdad());
        txtEstado.setText(solicitudEncontrada.getClienteEstadoCivil());
        txtCedulaC.setText(solicitudEncontrada.getConyugeCedula());
        txtNombreApellidoConyuge.setText(solicitudEncontrada.getConyugeNombresApellidos());
        txtTelefonoC.setText(solicitudEncontrada.getConyugeTelefono());
        txtCedulaG.setText(solicitudEncontrada.getGaranteCedula());
        txtNombresApellidosG.setText(solicitudEncontrada.getGaranteNombresApellidos());
        txtDirecG.setText(solicitudEncontrada.getGaranteDireccionDomicilio());
        txtTelefonoG.setText(solicitudEncontrada.getGaranteTelefonos());
        txtEdadG.setText(solicitudEncontrada.getGaranteEdad());
        txtEstadoG.setText(solicitudEncontrada.getGaranteEstadoCivil());
        txtChasis.setText(solicitudEncontrada.getVehiculoNumeroChasis());
        txtColor.setText(solicitudEncontrada.getVehiculoColor());
        txtMarca.setText(solicitudEncontrada.getVehiculoMarca());
        txtModelo.setText(solicitudEncontrada.getVehiculoAñoModelo());
        txtMotor.setText(solicitudEncontrada.getVehiculoNumeroMotor());
        txtPlaca.setText(solicitudEncontrada.getVehiculoPlaca());
        txtTipo.setText(solicitudEncontrada.getVehiculoTipo());
        txtMatricula.setText(solicitudEncontrada.getVehiculoMatricula());
        txtValorFinal.setText(String.valueOf(solicitudEncontrada.getValorFinal()));
        txtValorEntrada.setText(String.valueOf(solicitudEncontrada.getEntrada()));
        txtSaldoAdeudado.setText(String.valueOf(solicitudEncontrada.getSaldoAdeudadoInicial()));
        txtPlazo.setText(String.valueOf(solicitudEncontrada.getPlazoInicial()));
        txtValorCuotas.setText(String.valueOf(solicitudEncontrada.getValorCuotasInicial()));
        txtValorEntrada.setEnabled(false);
        txtPlazo.setEnabled(false);
    }
}
